
const path = require('path');
function resolve(dir) {
  return path.join(__dirname, dir)
}
module.exports = {
  outputDir: 'dist',
  publicPath: './',
  // 配置根目录
  chainWebpack: config => {
    config.resolve.alias
      .set('@', resolve('src'))
  }
};
